package com.ly.heart.domain.king.inventory;

import com.ly.heart.domain.king.BaseChildBo;
import com.ly.heart.domain.king.order.FAuxPropIdBo;
import com.ly.heart.domain.king.order.FBillTypeIDBo;
import com.ly.heart.domain.king.order.FTaxDetailSubEntityBo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@ApiModel( "采购入库单明细信息" )
@Accessors(chain = true)
public class FInStockEntryBo {

    @ApiModelProperty("分录号")
    private Integer FEntryId;

    @ApiModelProperty("产品类型")
    private String FRowType = "Standard";

    @ApiModelProperty("入库类型")
    private String FWWInType;

    @ApiModelProperty("物料编码")
    private BaseChildBo FMaterialId;

    @ApiModelProperty("库存单位")
    private BaseChildBo FUnitID;

    @ApiModelProperty("物料说明")
    private String FMaterialDesc;

    @ApiModelProperty("辅助属性")
    private FAuxPropIdBo FAuxPropId;

    @ApiModelProperty("父项产品")
    private FBillTypeIDBo FParentMatId;

    @ApiModelProperty("委外领料套数")
    private Integer FWWPickMtlQty;

    @ApiModelProperty("实收数量")
    private Integer FRealQty;

    @ApiModelProperty("计价单位")
    private BaseChildBo FPriceUnitID;

    @ApiModelProperty("单价")
    private String FPrice;

    @ApiModelProperty("批号")
    private BaseChildBo FLot;

    @ApiModelProperty("税组合")
    private BaseChildBo FTaxCombination;

    @ApiModelProperty("仓库")
    private BaseChildBo FStockId;

    @ApiModelProperty("拆单数量（计价）")
    private Integer FDisPriceQty;

    @ApiModelProperty("仓位")
    private FStockLocIdBo FStockLocId;

    @ApiModelProperty("库存状态")
    private BaseChildBo FStockStatusId;

    @ApiModelProperty("计划跟踪号")
    private String FMtoNo;

    @ApiModelProperty("是否赠品")
    private Boolean FGiveAway;

    @ApiModelProperty("备注")
    private String FNote;

    @ApiModelProperty("生产日期")
    private String FProduceDate;

    @ApiModelProperty("货主类型")
    private String FOWNERTYPEID;

    @ApiModelProperty("辅单位")
    private BaseChildBo FExtAuxUnitId;

    @ApiModelProperty("实收数量(辅单位)")
    private Integer FExtAuxUnitQty;

    @ApiModelProperty("来料检验")
    private Boolean FCheckInComing;

    @ApiModelProperty("项目编号")
    private String FProjectNo;

    @ApiModelProperty("收料更新库存")
    private Boolean FIsReceiveUpdateStock;

    @ApiModelProperty("已开票关联数量")
    private Integer FInvoicedJoinQty;

    @ApiModelProperty("计价基本数量")
    private Integer FPriceBaseQty;

    @ApiModelProperty("定价单位")
    private BaseChildBo FSetPriceUnitID;

    @ApiModelProperty("采购单位")
    private BaseChildBo FRemainInStockUnitId;

    @ApiModelProperty("立账关闭")
    private Boolean FBILLINGCLOSE;

    @ApiModelProperty("采购数量")
    private String FRemainInStockQty;

    @ApiModelProperty("未关联应付数量（计价单位）")
    private Integer FAPNotJoinQty;

    @ApiModelProperty("采购基本数量")
    private String FRemainInStockBaseQty;

    @ApiModelProperty("含税单价")
    private String FTaxPrice;

    @ApiModelProperty("税率(%)")
    private String FEntryTaxRate;

    @ApiModelProperty("折扣率(%)")
    private String FDiscountRate;

    @ApiModelProperty("成本价")
    private String FCostPrice;

    @ApiModelProperty("BOM版本")
    private BaseChildBo FBOMId;

    @ApiModelProperty("供应商批号")
    private String FSupplierLot;

    @ApiModelProperty("有效期至")
    private String FExpiryDate;

    @ApiModelProperty("数量（库存辅单位）")
    private String FAuxUnitQty;

    @ApiModelProperty("货主")
    private BaseChildBo FOWNERID;

    @ApiModelProperty("源单类型")
    private String FSRCBILLTYPEID;

    @ApiModelProperty("源单编号")
    private String FSRCBillNo;

    @ApiModelProperty("配货数量(基本单位)")
    private String FAllotBaseQty;

    @ApiModelProperty("是否扫描")
    private Boolean FIsScanEntry;

    @ApiModelProperty("价税合计（折前）")
    private String FAllAmountExceptDisCount;

    @ApiModelProperty("单价折扣")
    private String FPriceDiscount;

    @ApiModelProperty("消耗汇总数量")
    private String FConsumeSumQty;

    @ApiModelProperty("消耗汇总基本单位数量")
    private String FBaseConsumeSumQty;

    @ApiModelProperty("不良品折让金额")
    private String FRejectsDiscountAmount;

    @ApiModelProperty("销售出库单编码_序号")
    private String FSalOutStockBillNo;

    @ApiModelProperty("销售出库单分录Id")
    private Integer FSalOutStockEntryId;

    @ApiModelProperty("拆单前原计价数量")
    private Integer FBeforeDisPriceQty;

    @ApiModelProperty("应付单分录ID")
    private Integer FPayableEntryID;

    @ApiModelProperty("委外订单编号")
    private String FSUBREQBILLNO;

    @ApiModelProperty("委外订单行号")
    private Integer FSUBREQBILLSEQ;

    @ApiModelProperty("委外订单分录内码")
    private Integer FSUBREQENTRYID;

    @ApiModelProperty("采购费用")
    private List<FEntryPruCostBo> FEntryPruCost;

    @ApiModelProperty("税务明细")
    private List<FTaxDetailSubEntityBo> FTaxDetailSubEntity;

    @ApiModelProperty("序列号子单据体")
    private List<FSerialSubEntityBo> FSerialSubEntity;

}
